import React, { Suspense } from "react"
import { RouterProvider } from "react-router-dom"
import router from "./router"

function App() {
  return (
    <div className="App">
      <Suspense fallback="loading">
        <RouterProvider router={router} />
      </Suspense>
    </div>
  )
}

export default App
